package com.woniu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.model.MonthTotal;
import com.woniu.service.param.FindByStationIdAndMonthPageParam;
import com.woniu.service.param.FindByStationIdAndMonthParam;

import java.util.List;

/**
 * <p>
 *  月度统计服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
public interface MonthTotalService extends IService<MonthTotal> {

    List<MonthTotal> findByStationIdAndMonth(FindByStationIdAndMonthParam param);

    List<MonthTotal> findByMonth(Integer id);

    Page<MonthTotal> findByStationIdAndMonthPage(FindByStationIdAndMonthPageParam param);

    Page<MonthTotal> findByMonthPage(Integer id, Integer pageNum, Integer pageSize);
}
